package com.geovis.emergency.spd.entity.pc.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * <p>
 * 应急预案指挥模块-标绘保存DTO
 * </p>
 *
 * @author 曾德实
 * @since 2022-04-30
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "PcPlottingSaveDTO", description = "应急预案指挥模块-标绘保存DTO")
public class PcPlottingSaveUpdateDTO implements Serializable {

    @ApiModelProperty(value = "主键ID", required = true)
    @NotEmpty(message = "主键ID 不能为空")
    private String id;

    @ApiModelProperty(value = "演练id", required = true)
    @NotEmpty(message = "演练id 不能为空")
    private String pcDrillId;

    @ApiModelProperty(value = "标会对象信息", required = true)
    @NotEmpty(message = "标会对象信息 不能为空")
    private String data;

    @ApiModelProperty(value = "类型：1-分享 2-独自", required = true)
    @NotEmpty(message = "类型 不能为空")
    private String type;

}
